package com.zr.legalfactory.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by 86151 on 2019/6/14.
 */
@Data
public class LegalFactoryAddVo {

    @NotBlank(message = "新增时，法人名称不能为空！")
    private String lname;

    @NotBlank(message = "新增时，工厂法人编码不能为空！")
    private String lcode;

    @NotBlank(message = "新增时，工厂编码不能为空！")
    private String fcode;

    @NotNull(message = "新增时，工厂状态不能为空！")
    private Integer status;

    @NotBlank(message = "新增时，描述不能为空！")
    private String content;


}
